The allocation of popups are part dependent of the allocation of the
root, which means the root must still be allocated when updates are
frozen, otherwise we'll try to allocate non-laid out popups.
if (!GDK_SURFACE_IS_MAPPED (surface))
return;
- if (surface->update_freeze_count)
- return;
-
surface->pending_phases &= ~GDK_FRAME_CLOCK_PHASE_LAYOUT;
class = GDK_SURFACE_GET_CLASS (surface);
if (class->request_layout)
class->request_layout (surface);
- if (surface->update_freeze_count ||
- gdk_surface_is_toplevel_frozen (surface))
- {
- surface->pending_phases |= GDK_FRAME_CLOCK_PHASE_LAYOUT;
- return;
- }
-
frame_clock = gdk_surface_get_frame_clock (surface);
g_return_if_fail (frame_clock);